package m1.server.config.component.componentInterface;

import m2.component.ComponentInterface;
import m2.service.ProvidedService;

public class SecurityManagerInterfaceProvided extends ComponentInterface{

	/**
	 * 
	 */
	public SecurityManagerInterfaceProvided(){
		
		//********credentialQueryService********
		ProvidedService credentialQueryService = new ProvidedService();
		credentialQueryService.setNameService("credentialQueryService");
		setService(credentialQueryService);		
		
		//********securityAuthorizationSendService********
		ProvidedService securityAuthorizationSendService = new ProvidedService();
		securityAuthorizationSendService.setNameService("securityAuthorizationSendService");
		setService(securityAuthorizationSendService);		
		
	}

	@Override
	/**
	 * 
	 */
	public void buildService() {
		serviceUsePorts("credentialQueryService", "CredentialQuery");
		serviceUsePorts("securityAuthorizationSendService", "SecurityAuthorizationSend");
	}
}
